.modal_background {
    transition: transform 0.5s;

    &:not(.setBlur) {
        animation: smoothDropBack 0.5s;
    }

    &.setBlur {
        transform: scale(1.2);
        position: fixed;
        width: 100%;
        height: 100%;
        transition: transform 2s;
    }
}

@keyframes smoothDropBack {
    0%, 100% {
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

.main {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image_container {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: -1;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 60% 100%);
}

.mainText_container {
    position: absolute;
    width: 50%;
    max-width: 700px;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 1;

    .mainText {
        .title {
            font-size: 4rem;
            font-weight: bold;
            line-height: 1.2;
            user-select: none;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            color: var(--amber);
        }

        .subtitle {
            width: 90%;
            margin-top: 1.5rem;
            font-size: 1.5rem;
            line-height: 1.5;
            user-select: none;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
            color: var(--text-white);
        }
    }
}

.image {
    object-fit: cover;
    filter: brightness(0.7) contrast(0.9);
    user-select: none;
}

@media (max-width: 768px) {
    .mainText_container {
        width: 90%;
        left: 50%;
        top: 60%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .mainText {
        .title {
            font-size: 2rem;
            line-height: 1.2;
        }

        .subtitle {
            font-size: 1rem;
            line-height: 1.4;
        }
    }

    .big_button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .image_container {
        clip-path: none;
    }

    .modal_background.setBlur {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {

    .mainText_container {
        width: 95%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .mainText {
        .title {
            font-size: 1.5rem;
        }

        .subtitle {
            font-size: 0.875rem;
        }
    }

    .big_button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}
